tools/libxc: C implementation of stream format
authorAndrew Cooper <andrew.cooper3@citrix.com>
Sat, 15 Mar 2014 20:18:45 +0000 (20:18 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 5 May 2015 13:30:46 +0000 (14:30 +0100)
commitd004e0980d445093a4c2cee58e9c1102c42f5575
treeb4c11164397a79191766b939eab627d6d41e0d6b
parent7c299325769e2aef97cae2cc32f36d87b09975b2
tools/libxc: C implementation of stream format

Provide the C structures matching the binary (wire) format of the new
stream format.  All header/record fields are naturally aligned and
explicit padding fields are used to ensure the correct layout (i.e.,
there is no need for any non-standard structure packing pragma or
attribute).

Provide some helper functions for converting types to string for
diagnostic purposes.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Campbell <Ian.Campbell@citrix.com>
tools/libxc/Makefile
tools/libxc/xc_sr_common.c [new file with mode: 0644]
tools/libxc/xc_sr_common.h
tools/libxc/xc_sr_stream_format.h [new file with mode: 0644]